package com.mastercard

class Bank {
	
	static auditable = true
	
	String name
	String country
	
	List cards
	
	static hasMany = [cards: CreditCard]
    static constraints = {
		country nullable: true
    }
	static mapping = {
		cards cascade: 'all-delete-orphan'
	}
}
